<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Session 函数</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="session.security.html">Sessions and security</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.session-cache-expire.html">session_cache_expire</a></div>
 <div class="up"><a href="book.session.html">Sessions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ref.session" class="reference">
 <h1 class="title">Session 函数</h1>

 
















































































 































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.session-cache-expire.html">session_cache_expire</a> — Return current cache expire</li><li><a href="function.session-cache-limiter.html">session_cache_limiter</a> — Get and/or set the current cache limiter</li><li><a href="function.session-commit.html">session_commit</a> — session_write_close 的别名</li><li><a href="function.session-decode.html">session_decode</a> — Decodes session data from a session encoded string</li><li><a href="function.session-destroy.html">session_destroy</a> — Destroys all data registered to a session</li><li><a href="function.session-encode.html">session_encode</a> — 将当前会话数据编码为一个字符串</li><li><a href="function.session-get-cookie-params.html">session_get_cookie_params</a> — Get the session cookie parameters</li><li><a href="function.session-id.html">session_id</a> — Get and/or set the current session id</li><li><a href="function.session-is-registered.html">session_is_registered</a> — 检查变量是否在会话中已经注册</li><li><a href="function.session-module-name.html">session_module_name</a> — Get and/or set the current session module</li><li><a href="function.session-name.html">session_name</a> — Get and/or set the current session name</li><li><a href="function.session-regenerate-id.html">session_regenerate_id</a> — Update the current session id with a newly generated one</li><li><a href="function.session-register-shutdown.html">session_register_shutdown</a> — Session shutdown function</li><li><a href="function.session-register.html">session_register</a> — Register one or more global variables with the current session</li><li><a href="function.session-save-path.html">session_save_path</a> — Get and/or set the current session save path</li><li><a href="function.session-set-cookie-params.html">session_set_cookie_params</a> — Set the session cookie parameters</li><li><a href="function.session-set-save-handler.html">session_set_save_handler</a> — Sets user-level session storage functions</li><li><a href="function.session-start.html">session_start</a> — Start new or resume existing session</li><li><a href="function.session-status.html">session_status</a> — Returns the current session status</li><li><a href="function.session-unregister.html">session_unregister</a> — Unregister a global variable from the current session</li><li><a href="function.session-unset.html">session_unset</a> — Free all session variables</li><li><a href="function.session-write-close.html">session_write_close</a> — Write session data and end session</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="session.security.html">Sessions and security</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.session-cache-expire.html">session_cache_expire</a></div>
 <div class="up"><a href="book.session.html">Sessions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
